With dangerous things, I used a warning then time out starting at about 10months. Ds didn't like time out, so this method worked. As far as frustration stuff, I would try to intervene before the meltdown happened. Honestly, it has gotten better with age. What can still be a struggle is a battle of wills. This too is less frequent, but when it happens- wow watch out. Luckily for me ds2 is more easy going.

Good luck and hang in there!