Lots of small cleanups in ofApp.