appmain: Log termination of the event loop

Also changed the logInfo at its start to logDiagnostic
per Sönke's request.
win32: Exit when out of events
core: Log which driver we created