Cleanup and chat setup