window specific event processing
another rework of the event stuff

it's now less indirect and less complex. the next step could be the
reduction of modules to two modules for the event handling.

unresolved: how to forge the windowstate into a monoid...
some adjustments in the event/callback system
fixing versions