added map manager for efficient memory usage

miscellaneous other bug fixes and investigation

currently having an issue where exhaustive navigation throws an error