some refactoring
reformatted
removed unused code
fixed typo
use Launch4J console mode
migrated key event test to Maven
use Java 21
fixed typos