Some fixes for wxqt