Base   :   changed default mode button behavior, added flag in map file to turn on latching.