adding a debug draw. fixing some simple errors in the physics system, seeing as how it is the first time I have ran it.