header and chat fixes