Removed the multithreading nonsense; I might need a Queue though.