Fix view map literal syntax.
Use async navigator, fix view constructor call and update input mapping.
Refresh the view after setting the initial directory.