Fixed a few crashes and a few graphical bugs. Implemented the window and background scrolling correctly