The other thing that works fantastically well is an orange-based cleaner available at auto parts stores. I ran a hotel and when I had railroad guys staying, they'd use our guest laundry and always put in this orange based cleaner. Clothes came out clean and the washer never smelled.
My uncle is a railroad mechanic, his wife swears by Simple Green and detergent.