fixed control bug caused by unitialized values

Minor refactoring and additions to begin support for different mapping
styles. The first being wrap, which will allow an object to go off one
edge and reappear at the opposite end of the map, similar to old school
asteroids.