a bunch of changes to the GuiApi - probably bound to change, though, so use at your own risk!
beginnings of migrating to an "all windows are created equal" model. (as opposed to a MainWindow)
removing the unreliable Qt execution of the .js methods - please include in your HTML (<script type="text/javascript" src="qrc:/js/ClientKitMethods.js"></script>)