Merge pull request #2 from carlosalberto/master

Add default events for NSSlider and NSTextField.
Specify bool retval for shouldTerminateAfterLastWindowClosed.