Basic form styles, refactored some calculation functions, implemented data panes and switching