Minor fixes on thread indexes and message-preview