First working version of writing SGMASScanActionController files in a separate thread. Not optimized at all. Had problems with the QTextStream object declared as members in the fileWriter class. Not sure how much more efficient this is overall. It's a starting point at least.
Removed commented out code.