Update to new entity creation, general code cleanup, and fix bounds updating during transform