I know this seems to be my particular 'bete noire', but check the wiring particularly at places that move. Make sure that all connections have the wires clamped either side so the whole thing is shake proof and that cables flex on as large a radius as possible. One wire to a stepper with an intermittent break can cause all sorts of grief.