I redid the code for the galaxy generation today. It looks better. Still have work to do.
How information will be displayed about stars and their distances will be different in the finished product. The current dialogue box is just a test to make sure what I have so far is working correctly.