Be gentle to the CPU by avoiding QTBUG-14956

The idle hook is in fact a machine gun rather than firing just
when the application becomes idle. Workaround the issue by
starting/stopping it as necessary.

More details about the Qt behavior at:

https://bugreports.qt-project.org/browse/QTBUG-14956