Don't overbake the cake, and don't overmix the batter. If possible, do almost all of your mixing when creaming butter and sugar or adding eggs, and sift together dry ingredients. Then only mix the better enough to combine the wet & dry. Also, it's a good idea to fully frost gluten-free instead of leaving open edges.