almost done with chat on…jat hahh…. also cleaned up some more code