Implementing Queue. I'm trying to use a regular queue and then wrap it
in an Atom, but I don't think it's going to work.
Implemented thread-safe Queue. Did not end up using Atom, but it was
pretty simple to implement anyway.