Fixes moving queue button and prune race condition

Moving button was a result of not taking the style div into account when swapping icon glyphs.
Queue hiding would sometimes take place before the final items faded out, keeping them visible (albeit completed) in the queue the next time it was used.