Fixed WHILE bug.
Bug fix the WHILE loop bug fix.
Disabled inputs when program is running.