Yes, a chromatic nonharmonic tone in the form of a neighbor tone is what's going on in line 1 and 2
https://en.wikipedia.org/wiki/Nonchord_tone#Chromatic_nonharmonic_tone So it's a note that's not part of the key, used for decoration. You can often find them in Mozart.
Last line it's IV (D major) all the time, see the base. The e sharp is again a chromatic nonharmonic tone, in the form of an appogiatura. So basically decoration around the F sharp which is the third of the D major chord.
Third line I would think of as something similar, but now in the harmony in the base. The A# and C# are basically appogiaturas to the B and D in the harmony of the next bar. He sort of tricks you a bit because the upbeat hints at B major like you've analyzed, and bar 10 feels like F sharp major with the 7 in the base, so he could have resolved it to B major instead of going to E major 7 again.