adjust launch position and catch all window close events (#1275)
adjust launch position and catch all window close events (#1275)

- fixes #1267
- fixes #1271
meandavejustice/min-vid,meandavejustice/min-vid,meandavejustice/min-vid