Queue now takes a duration parameter to control speed of queue processing. Also updated some comment docs.