Changing to use cocoa's fullscreen API
Fix keyboard event problem when exit fullscreen
Call setup on NSApplicationDidFinishLaunchingNotification
Small update