Repaint on state change
Merge branch 'master' of https://github.com/mikeroll/writr.git