Fixed bug with notifyAll() in the TaskQueue; thread name added; sleeping time decreased.