fixes, entity manager
some time handling, world loop