Much more debug/info and qt-related fixes