Simplify boolean toggling in the TASInputDlg.

Also fixed the indentation for some code in a switch statement.