Switched from tabs to spaces for indentation.
Restructured the magic numbers into objects.
Moved all the images into a subdirectory.
Imported libraries from external sources.
Fixed the lagging timer by using a "delta" time.