Beta0.4 - Changed 'stack' to 'queue'

In preperation for popping from the front corrections.