cleans up some template code from ofApp