Opie's Ill-Gotten Gain - S4-E8
Continuity mistake: Andy reads the inside cover of Barney's old schoolbook which has Barney's name "Bernard P. Fife" written out many times in it, but in two previous episodes Barney's middle name is either Oliver or Milton.
Opie's Ill-Gotten Gain - S4-E8
Continuity mistake: When Opie's surprised by the bike, his first closeup is a flipped shot - note the bell's on the wrong side of the handlebar, etc.
Opie's Ill-Gotten Gain - S4-E8
Continuity mistake: When Barney is "reciting" the preamble to the Constitution, he messes up his hair. When they show him in close-ups it is messed up, but when it goes back to him and Andy in the scene it is combed. It does that a couple of times.
Answer: Those "boxes" are valences that used to be very common, before air conditioning. They allow for windows to be open during rain storms. They permit air circulation, without letting the rain in.