Added a charptr max_running_string to the queue_driver struct, and moved some functions. Made helper functions static.