Forward window focus events to application

Signed-off-by: Simon Busch <morphis@gravedo.de>
Add log message handler to extend messages with timestamp

Signed-off-by: Simon Busch <morphis@gravedo.de>