fixed window not centering properly when SH is chosen after IQIN
fixed syntax error