Minor fixes in bot.pl; Crash fix in maps.pm
Crash fix in modules/maps.pm