Moved processqueue and savetoqueue to et-utils.js