adding comments, more descriptive member names, and an errof if the TFF control mode is invalid