Prevent a Nil exception error
Add support for detecing Mac OS 10.9 'Mavericks'
Merge pull request #42 from vidalvanbergen/master

Add support for detecting Mac OS 10.9 'Mavericks', and prevent a Nil exception error in DocumentFile(Window)