Merge pull request #158 from zmathe/dev_web_main

fixes and changes...
Merge pull request #161 from zmathe/dev_web_main

Various fixes and improvement of the existing applications.
correct the method name
close the StateLoader windows after a state loaded. By default use the shared desktop name by the state loader
publish a state
add refresh button and the loading icon to the PublicStateManager application
allow to make an application public using desktop theme