standardized file names, fixed header guards, changed SHM_NAME define