Reorganize resources
Clear JS `prevMessages` in `ready` event
Add statusbar with battery icon
Fix Xcode project
Tweak preference setting
Disable diff messages (for now)
Add statusbar preference

Depends on preference commit 397773564a9c06bcd481357d7a3330581c2cd962