Fix password list related issues

No more red placeholder text in Firefox.
Save won't cause 500 in a new session.
Only update state on success.
Fix file index height calculation in Firefox
Merge branch 'master' into gh-pages
Update examples