SM checks if other SM processes are running. ED macros improved a bit.