Formatting fixes

This PR covers most of the formatting fixes.

capp_lint runs cleanly on all files in TextView, except for the warning noted in Issue #4

7af8e6c is a bugfix commit.