Update imx_tui

Updated to quote expanded vars and int comparisons.