 SPOILER: At one point, one of the ideas for the ending of the movie  was that the gremlins were supposed to be killed by Mr. Clamp  filling the building up with cement. That was until the animators  discovered that they had the technology to create an "electrical"  gremlin, which they realized could improve the storyline (and its  ending).