Better window debugging messages

Change-Id: Ib85608cabfa04cffb88cb1f0218bb6e8bb53c00f
Fix non-accessible QDockWidgets

Change-Id: I214d1143b3d48a4b3934ad12b68738853a97f3ea