The "I like trains" joke was originally going to be "I like dinosaurs," and then a dinosaur would come in and eat all the kids, but it was changed to "I like trains".
For more info, go to Do I Hate asdfmovie?. The dinosaur, who would become the stegosaurus, finally appeared in asdfmovie4.