Manager panel changes, querymanager

Still work in progress.