It was brave of you to leave f4 unsupported for so long! Notice that in one of the alternative lines you posted, Bg4 can be trapped. Black's queen was poorly placed most of the time, maybe Qe8, which also helps protect f7 more, would have been a better place.
Queen trap!
If you need help, please contact our Help and Support team.
Please help me analyse. Comments are welcome.