make clear actually clear the history; fix some listener hookup bugs
Merge pull request #73 from davidascher/chat-tweaks

make clear actually clear the history; fix some listener hookup bugs