Updated the h5handler method and associated test script. An empty queue
is now simply denoted by None. Also, the worker flow was updated to fix
bugs related to active threads with empty queues waiting for input.