Enhancements to the thread pooling system. Does not yet run properly as when a function is attempted to be run there is an error. The blocking queue also does not work properly as it occasionally returns the data but not always.