Removing entities from groups is now done in the refresh phase
Player level transitions now work correctly
No more magic numbers - added constants