Move typeSelector to header
Select first item on startup
Merge branch 'master' into gh-pages