coverity#737502 Uncaught exception

Change-Id: I5f5b7244db311501af6ded863b4b1fa46e5a547a
coverity#737504 Uncaught exception

Change-Id: I3cfa8ba3baaf071e4300b12c8bbcba4c652ee309
coverity#737506 Uncaught exception

Change-Id: Ib36b9bab3f31b32b8be3d7c51af7f26280a7a069
coverity#737507 Uncaught exception

Change-Id: Id035849f94bfb5e6ba7f5463a6a548bf88b77e85
coverity#737508 Uncaught exception

Change-Id: I100bd99fdbf2929214f89baac962d74cb6a530a6
Resolves: #i119006# delay Mac initial event until the app has launched

delaying the initial event prevents complaints from OSX>=10.7's "windows
restore" feature to recur infinitely. Apparently OSX cleans things up for us
just before we get the applicationDidFinishLaunching() callback.

(cherry picked from commit 0f3712ff654c740f3593b9580f34cdfe21ac3250)

Conflicts:
	vcl/osx/salinst.cxx

Change-Id: I0f1d59f03ffe4efc7c9a73fa881151fa06af5424
fix MacOSX-x86_49-TDF tinderbox

Change-Id: I15632bd87be37d9bb5815c9d800271dfd4c3b016