(1) Added radio-button to choose IAST/ITRANS.
(2) Code cleanup and variable renaming.