added space key to switch modes in mapper tool, and corrected active mode display