Multigui merge

Merge the multigui branch now that the backend is in place. Work on kdialog/kde still untested.