working on #191: auto persist layer configuration per mode
working on #191: fixing behaviour when map-mode files not present
working on #191: clean up / jalopy
Merge branch 'feature/191-auto-persist-layer-configs-per-mode' into dev