Add missing notifyChange() calls, missing break stmts.

Mostly from Farzad Ghaznavi.