Changed clipboard code to compile on 10.5, and removed old carbon code.