Added 3d rendering capability, fixed Entity/Object addition/removal