Revisions, more functionality.

- Reverted changes to the calculator layout made on 3/30 after midnight.
- Deleted unnecessary context variable.
- Added more functionality to the buttons. Now certain buttons delete
certain characters before the character in the button is placed.