Add F1 key code; a way to get a save directory.

The F1 key code hasn't been tested on windows yet.