only load %guiref in qtconsole with python kernels - fixes #4787