implemented mapResetButton, minor fixes