debug output to see what happens with views and xmlgui clients.
Needed all this to debug the problem of the context menu not appearing when lazily loading kateview.