Finished PartGenerator, misc. changes for code-ability