The scripts that generate handouts and extract homework from tex sources are very specific about the input. Therefore

  • add a note to every frame
  • write the titles (clocktitle, frametitle, section titles) exactly in one line. The script really want the closing } to be in the same line
  • For homeworks, bot the section and the frametitle need to star with Homework.