Memory leak fixed!!

The memory leak that I had before has been fixed!! Whoohoo! :D
Also, the code has been cleaned up a bit. The game should run faster
now!