refs #5 Fix globals issue with referencing the mcpmodetoggle in a local
context.  Verified toggle of mcpmode on and off works.

see this for help:
http://effbot.org/pyfaq/how-do-you-set-a-global-variable-in-a-function.htm

This fixes a long bug that plagued me previously, don't know why it
never occurred to me to see how python handles global/local scoping.
Sigh.