Map file reader: bugfixes, add template with no open walls