Fixed some bugs in map creation and display of blank maps.