A big code cleanout in the modelfit module. Some changes to LSF code, the rest is...