Add my own fixed version of Vector2D
Simplified EntityManager a bit, misc other tweaks