pretty print
Lots of app related changes.