Improved notifications and calc prototype

Similar notifications will show in the same box. The calculator layout
was changed, and more code cleanup.