fixed bug where app wasn't closing properly from menu.

added editor support for RigidBody and Collider components.
fixed another exit bug
fixed save/load bug with Collider and RigidBody and fixed bug with RigidBody where reselecting one in the component list would reset the associated material.