1. added previous number to calculator display.  2. debugging and code cleanup