Fixed warnings about [NSApp delegate].
Fixed app_options not working in OS X 10.10 Yosemite.