Fixed queue functions and (minor) startup timing bug.