When logging starts, make sure to flush any messages already logged.

Change-Id: I54c2b9cca39c9b253a186f063659d559e82850d1
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Do not turn on all messages - overly verbose

Change-Id: I846456ff737c44ff0c2ce54a736ad83542b7de01
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Renderer: Use automatic resource management

Change-Id: I26dfb80cb373d0afe686a3da5902db6729cf8061
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>