Handle far extensions in the mapname extractor

This has no effect with the current content, but will make
things much more convenient once we start using longer mapnames.
Fix bug with mapnames being falsy

Fixes #7
Fix a bug in @command logging