Limit number of rendered text layer segments.
Prerender text layer sooner if possible.
Close login menu when moving between pages. Fixes #210
Merge branch 'master' into new-annotations3