Yup, those dont look like nice gears anymore. Greasing and cleaning them on a weekly basis will help, do you have dust extraction? I dont the the pinions and racks would make your encoders fail, the would make the the machine tolerance less precise however. If you humidity is high that means you will have less static electricity right? Im not sure if its a good idea to dehumidify as it might bring other problems.