chat tweaks, some styling from master, some functionality fixes