If you're running low on powdered sugar (sometimes called icing sugar), you can make it by grinding together granulated sugar and corn starch. I've never tested any substitutes with this recipe, but grinding cocoa powder with sugar (or even using a packet of powdered hot cocoa mix) should also work as a chocolatey substitute to thicken up the frosting.