Writing to file is mostly working, tho something gets borked on the way down. The queue mechanics are all working