use a bool for whether or not drawPlanetBouds draws triangles.
some more basic formatting cleanup.