Fix the timing issues.
Fix some listeners and listen to async chat. Also fix vault repo.