Add UI and scripting support to embedded queries

Nice one @NothingIsLost – Please do post back here when it’s available via Community Plugins