debounce: don't print 'stable' repeatedly
debounce: improve logic readability