guard against mac-specific stuff, and clean up slime mode dependencies
guard against mac-specific stuff, and clean up slime mode dependencies