In public function inGroup($name), add missing "return" keyword.
Fix one error reporting line in the group controller.
Fix a comment typo.
Fix typos in variable names that broke stuff.