XY Plotter/CNC style interpolation project. Need great deal of help

Can you give any more detail about how your switches are wired up? Sometimes this problem can be caused if the switch doesn't have a pullup resistor (or pulldown resistor, depending on how it is wired). Do you have a circuit diagram / schematic?