Avoid saved window positions to fall off screen (Jon Daniels)

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@13808 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
make sure writing executor has finished writing all data before close file channels

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@13809 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd