Implemented the on/off for TS fit and breaks; added QTableWidget for images tab; some bug fixes