Pretty sure I can just use NSApp delegate here