add the calculator, close all tabs, and fix up other features. Still needs todo added.