Some refactoring to hide the grid view GRIDHACK's (it MAY be possible to just dispense with them altogether...); could ostensibly be carried over to the map editor case