Move post-initialize repaint to event queue
Merge branch 'master' into live