Split multiple-production-queue widget logic into its own file