Replace depr. NSRunCriticalAlertPanel with NSAlert

- Now using modern API
- The dialog is now shown as a modal sheet, which suits better
- The alert style is changed to NSWarningAlertStyle,
- NSCriticalAlertStyle was not required
Merge pull request #35 from ShadowLightz/master

Replace deprecated NSRunCriticalAlertPanel with NSAlert