Fixed all mem leaks. Changed sceneComponents.

Deprecated twin-float based position variables and functions. Use
Vector2D from now.