Chat room finished. Some bugs remain.