Fixed some chat state issues.