Hacked together the UI

The UI is finised and works. The code really needs to be cleaned up.