Disabled the inputs, selects and buttons when programming is running. Re-enabled them accordingly when the program stops.