Some InputBox cleanup