Improve error message when a map contains invalid tiles
Add NULL-check for mapping minimap colors

Fixes #1043