dump of GUI code from Matt, since his branch is unmergable
clean up
Merge pull request #44 from Tokanagrammar/0.5_gui

dump of GUI code from Matt, since his branch is unmergable