Added GUI

Works but is very inefficient. Contains an empty loop. Committing now
because a large redesign of CommandInput may be needed.