Refactored Equation Object system. Equations now attach to states. States have a draw method in case they need to draw anything only shown in that state.