Cleaning up code: Defined main function, trimmedhammer and squirrel images, and added a couple static constants.