adding singularity defines and adding some logging back to supermatter.