More think changes, map panel fixes

Fixed map panel to not break if there isn't a player entity, made it
work with variable sized maps. Added getNextThink() and setNextThink()
methods to entities