Intermediate commit just before a branch. Still compiles.
Fixed all issues pertaining to queues.
Need to go back to the drawing board for datatypes.