Cleanup some variables and other code.
Moved cat_arg to be member of Stargen class.
Moved flag_char to be member of Stargen class.