Rename CommandQueue to SynchronizedQueue since it's more general.