Added some functionality.

Mostly i just fixed a few errors that were causing lag. Also, added
basis for a money system and an upgrade tower method.