pop_front is now always returning the next after head. Fixed bug in AtomicRef