added missing locking against crashing in Overlays::~Overlays()

please review