optimize testing for types of operations
fix calculatorHistory bug where clear would empty the display