Groomed usings, whitespace
- removed obsolete references
Don't show the window if there's nothing to show
Setting to null breaks since the preview advances to the next screenshot
- Luckily the action returns the screenshot, so the fix is simple
- Whether or not the action should be also responsible for advancing the preview is up for debate