In your first game playing 7.d4 would have given you a nice advantage. Central superiority and tension that benefits white. Don't fiddle with pawn moves like h2-h3 unless they do something concrete. Also, you moved your light square bishop four times before you ever move your darksquare bishop. You need to have all of your pieces in play. 11. Be3 would have given you a classical piece+pawn center. Also, trading night for bishop while you continue to open the center is not a very good idea.
In the second game you were fine until you started to move all of your pieces away from the king. It was not taking the rook that killed you, it was moving your queen so far away with your oponent's pieces all on your second rank. Also, your pieces were so far away from his king you could not make any threats of your own.
If I may make a criticism: you over value pawn structure and undervalue other factors like minor pieces and the dynamic elements created by doubled pawns. Doubling Black's pawns in the second game helped him. It gave him an avenue of attack down the g-file and more central control.

- I lost this game as well, take an material advantage was a mistake.