Don't focus when switching tabs that's annoying
Use proper indexes for chat history