Initial example NSApplicationDelegate implementation.