take screens on F2 release, not on press or hold

Both F1 and F3 are handled on KEYUP.

Screenshot should be handled on KEYUP too: not only it makes the code tidier,  this also prevents taking repeated screenshots if SDL decides the key has hit the "hold" delay and reraises the KEYDOWN event.