Created on 2017-04-03.14:39:43 by goobliata, last changed by goobliata.
do_modal and probably other loops will spin quickly if no timer events are in
the queue. This needlessly burns CPU, although should only be on the first loop
and shouldn't cause any other problems.
CPU usage here should be very negligible (it'll look for a couple microseconds
every time you change to a different section.) Not going to bother with this
probably at this point.