clean up redundant code to single RecoveryMmapSize() call.  Add suggested option from github user licenser.  Fix all unit tests.