pressing any key during running stops program
add key click based on system setting, fixes #12