Ported MapNoBlend changes from TileZed.
Port some misc stuff from TileZed.
Ported appConfigPath/docsPath/luaPath stuff from TileZed.