small formatting cleanup
add beforeprocessing
add ondblclickrow
add onheaderclick
add on rightclickrow
some fixes with routing