ChatGui class extends Frame now.