16 wickets fall on day two as Glos end day with a 134-run lead