Refactored to reduce duplication and improve clarity.
Added names to non main SerialTaskQueues.