fix some breakage that resulted from trying to support both Carbon and Cocoa GUIs
tweaks for warnings and configuration options and stuff