Gui for 0.5

dump of changes to put up a simple GUI for 0.5