Basic functionality down, gui and error checking left