creates app bundle, uses NSApplicationMain()