More exception handling, don't close window before move and read success