Added dirty movement code to aid collision detection.
Updated projection code.