[OSX] QTils now provides a function, a wrapper around NSApplicationMain(), that makes it possible to write applications with a standard/traditional main() function that receives its (file) arguments via argc,argv - regardless of whether the application is launched from a commandline (through Darwin) or through the Launch Services (e.g. from the Finder). This involves several stub "methods" that intercept the messages a normal Cocoa application receives during startup, and reentry into the main function (either directly or through execv()).