I'm still figuring out how to consistently create good star masks, but I'll share what's been working for me.
1. Create a luminance copy of your image.
2. Remove the large scale objects with MultiscaleLinearTranformation. Open the tool, reset to defaults, and double click the residual (R) layer. Apply to a preview. I'll add layers and move down from R until I get most of the nebula, etc off.
3. With StarMask tool, start with the defaults. If you're not seeing enough small stars, increase the noise threshold. I've had to go pretty high to get the little ones included.
4. Increase the scale such that larger stars become more well represented
5. In cases where you can't get them all into a single mask you can combine the masks with PixelMath using the formula max(mask1, mask2, ....)
If necessary, clean up any remnant non-star objects with CloneStamp using a black reference image. To create the black reference, use pixelmath formula of 0 (yes, zero), set to create a new image, and drop the triangle on your working mask. This will create a new image with pure black (pixels = 0). Click on the mask to start the tool, then move over to the black reference to set it as the reference.