Saving current work. Priority queue was a much simpler concept than I thought.