Updated script to work with python 2.7 in OSX.
Add simple example of automatic publishing.
Add .ui interface.
Upgrade ui in mainwindow, add refresh button.