Update comments and update the typechecking function in trowelglobals.py. This function will check and return type errors