events, app DOM tree rendering fix; autofocus fix