More deferred logging tweaks

- Fix emit
- Fix exception on gui thread startup