Add keydisplay address for Windows, fix save_on_exit for OSX