Added task queueing and ability to run single tasks