In the middle of a complete restructuring of the ThreadedTask class.

Will remove the allocation part of it and designate one thread to all writing, and allocation to a seperate thread and probably class and "main function"