experience with catching substructure-redirect kind of event.

for the moment, it is more code for no improvement but it might prove
valuable later.
add visual mouse cursor change when talking to the window manager
raise SLOC limit