WIP two-level queue, ready to go with some uncomments. Going to try a faster alternative to reopening nodes first.