Tested to remove coding error

Code does not break for all GUI choices. Logical errors may still exist.
We are still missing the Rat-Race coupler code, so this could not be
tested