Moved to using Queue instead of a list in preparation for threaded networking