Bobby Thomas' fine injury time winner provoked passionate scenes of celebration from Frank Lampard on the sidelines.