events, app DOM tree rendering fix; autofocus fix
Merge branch 'master' into chrome_popup