-fix for OSX 10.9 thanks to @pyroryan
-move InputPane out of MessagePane into ContentPane
-misc refactoring