In a small bowl, whisk together the flour, cornstarch and salt. Set aside. Then, in a seperate bowl, use a hand mixer to cream together the butter and confectioners sugar for 2 minutes. Then beat in the vanilla. Mix the dry ingredients into the wet, adding it in batches until it is all combined. The dough will be sticky.