Fix regressions.
Cleanup.
Add a LocalStorage binding.