Reduce the set of events that trigger a reload.

This seems to avoid multiple reloads.