[[ Cocoa ]] Various (failed) attempts at getting abortkey detection working efficiently (well, at all really!).
[[ Cocoa ]] Refactored dialog code into platform layer (color dialog still carbon).