work on queue implementation.

problems with header file declarations redefining variables.
unsuccessful build.