Added asynchronous error handling (needed in queue class).
Implemented and prepared some queue class functionality.