Ok, been looking into this a bit more today. I found a strange problem -
as soon as Ctrl+S is pressed in any application, Taskbar stops receiving
events. evnt_multi() never exits after this. Also, top says that Taskbar
is sleeping, yet it eats all available CPU. General performance is not
affected. Very strange.
If I don't run Taskbar, the problem with missing Ctrl+Q/S disappears.
Maybe Taskbar does something the AES doesn't expect, like a specific
combination of events or something.
I'm suspecting a kernel/AES-problem, because even if I kill Taskbar and
restart it, it doesn't receive any events. Memory protection is enabled,
so it doesn't look like Taskbar is messing around with the kernel either
(assuming that memory protection does indeed protect the OS).