Got rid of Victor's terribly broken button stuff, and got simple open/close message to work. However it only affects the one message, I thought it's supposed to open/close subtrees ...
Fixing expand/collapse for messages, individual and global behavior. Now the collpase.css and expand.css are no longer needed, just commentted those additions.