bugfixes and minimap addition

provides a fix for #10