The definition of QUEUE and DEQUEUE were copied from UCBLogo to make it less likely to have a conflict with variables names in the caller's context.
This is not a fix, because the bug still exists.
However, this is still an improvement, as it makes FMSLogo and UCBLogo have the same bug, so code that works in one won't fail in the other.