Fixed Concurrency, threading now seems to be working, albeit the code
should be cleaned up and streamlined.