Fixed all syntax errors in TMViewController.  Only deletion of auto-generated head and commit hashes, only addition of brackets to resolve lack of closing of if statements, in addition to deleting a second loadView method