Only made a couple of changes to test the window thing on my laptop. 
Have marked them all with astrixes in comments. But changed the size at
the top of mapGui and added a method to robot class. Not entirely sure
much else.