small code fixes
new table event documentation