only redraw after some events

Before, we were just redrawing the entire bar every second. Now we only
bother to do so if there has been an event which might have changed the
bar contents within the last second.