moved the temporary parameter arrays from global variables to internal variables in the window's class, also made them of size thOrder and exOrder instead of just 5
Initial rought cut for calculating and displaying residuals of the fit, also a few minor changes in how we determin if we are in continue fitting mode or not