Cleaned code.
Added the ability to disable the saving last expression in MathParser.