Pretty much all formatting and commenting done, just test commenting to go

I changed a few things around that were minor but have suggested a
rework on the processQueue method. I think the loop is incorrect. I
commented in a new one. If you think what I said was right go ahead and
add it in.