Removed unfinished gui-stuff
Reinstating unfinished gui-stuff.

This reverts commit 6f0958543ee1c6b5c4c63d3888d01a5338c676bb.