Fixed several issues with messages and threads not displaying.