Updates

1) Gate keeps track of start and end background images and points, and
a line Object
2) gate returns all above info;
3) MainWindow now switches between world using swapWorlds()