fixed chat
updated window rendering