As a (university) teacher myself I feel it should be pointed out that teacher motivation strongly correlates to student quality/motivation. Teachers are humans too, with emotions and feelings, and if students treat us badly that's kind of difficult to ignore.