Major cleanup in ParticleManager.cpp. Removed unused code and variables.