Peter, Thank you for your amazing work! I noticed that keymap array size in POL.X11.Display0.Mod is too small -- my X server returns keymap of 9880 bytes long, overwriting module code and making pol crash. This happens when the X keymap was modified with setxkbmap or xmodmap. Just increasing array size fixes the problem.