Creating Multiple Interrupts

The way the code is written, it waits for the stepper motors to completely go through all of the steps before reading anymore information from the serial port.

What has reading the serial port got to do with reading limit switches ?