Answer:
Sensei is the proper term for the teacher in a dojo. It is used for whomever is teaching the class. Some dojo only use the term for the senior instructor in a school. There are other titles that are awarded or earned, but when talking with the instructor, Sir or Sensei are appropriate as is Mr. xxx or Miss xxx if you know their last name (and you should know their last name!).