cleaned up row and cell event handler code
context menu for table editing
 - better global click event handling for hiding context menu
 - on show/hide callback since we needed a static global function for optimal bind/unbind
cleaned up rendering and updating styles