python-console: Removed "locls" dictionary when calling exec. This was causing variables to be written to locals instead of globals, and thus they would not be available to other functions. (So as a result of this, functions can see globals and call each other, including recursion).