OSX: Main window some event handlers