added minor stuff to the engine class
added initial test class
fixed an issue with the toVector method in the concurrent_queue
(there is still a multithreading error with engine shutdown)