Added a possibility for loading maps from 2D grayscale images