Log table preloading in other thread, LogMessagesTable refactoring.