More fixes in qtpoweroff