Hide sessions tab when there are no sessions.

Also: special cases for the main page.

Closes #112.