Fixing 5 param errors for the test program.
Adding new input boxes and logic for GUI.