Added _world == null test for inline onCamera function

Added _world == null test for onCamera in Entity. Finally cleaned up the git stuff :)