prevent swapping before user marks a window

Thanks, Svalorzen!
github: fixes #1