Remove shm, it just doesn't feel emacsy.
Fix bug where major version comparison was flipped