Added a wait_to_empty_queues() member function to block until the Hi and Lo queues are emptied. This is useful if the logger stream is a stringstream and you want to do something with the string after all the logging is done. If you use the stringstream too soon, the queues will not have written all the data yet.