Cleaned up some code
Cleaned up some code

gh054/engine,GlenDC/StarEngine,gh054/engine,StarEngine/engine,GlenDC/StarEngine,hcxyzlm/engine,hcxyzlm/engine,GlenDC/StarEngine,GlenDC/StarEngine,StarEngine/engine,GlenDC/StarEngine