fixed indention bugs as well as the menu logic. moved key_map to main rou...

This now really works the way I intended it to. In general, the script was not doing it right after the rewrite of the input handling. So I fixed it with this release for everyone else to enjoy. Tested it on my live bbs and it's working again. Thanks for mentioning me and my little bbs in the latest news ... :)