This stuff starts to let you use the buttons in the Qt event loop
without grinding on the processor.