Plot hole: It's revealed at the end of the episode that the reason Tommie was sleep walking was because he was so nervous about the 5th grade test. However, he was sleep walking before news about it was given (ie: The beginning of the episode).
Plot hole: Everyone tries to get money by selling Dil's inventions, which are all obviously home made, but where did they get so many pairs of sunglasses and where did they get them while they were at school? They didn't seem to bring anything with them to carry beltquariums, et. al...