Fix window spawn bug

monitor on/off functionality complete. File name should be redirected to
a shared file on network drive.