fixing next/previous. breaking random_ids. cleaning up queueFiles interface.