GUI and IO

GUI and IO works now!