Improved GUI

Improved the GUI, changed the way position is read in and out