.profile modifications: improved $PATH editing & mac-specific settings