I'd do the thing Pape said and just have another program open and just Alt-Tab when a teacher comes near.