message jsons, improved css/javascript for threads