some style fixes

Indentation is no longer a war crime
starting to add a webview

The idea is most of this app will be HTML5, but still work offline.