Sorry, I now realize my last sentence on #2 was confusing. I used to have the limit switch in mode 2 (limit & homing), where they caused problems. After unsuccessfully trying to solve the issues I put them in mode 1 (homing only).