Added some really basic persistence of the queue.