Removed const qualifier from non-reference returns
first version of the GUI code. Seems to compile however many bugs remaingit status