Correctly open binary files in binary mode and pretty-print mdump output
Can now create layers and work with them on the map.

No highlighting of the current layer yet, but it is now possible
to create a new layer, switch to it, and paint on that new layer.
Add translations for hardcoded strings in layer addition.