Bug fixes and add some Casper tests
Bugfixes on settings
Fix message display in Chrome