Fixed some little bugs in the menu and math parser.

 On branch master
 Changes to be committed:
	modified:   build-calculator-Desktop-Debug/calculator
	modified:   calculator/calculator.cpp
	modified:   calculator/main_window.cpp
	modified:   calculator/main_window.hpp