grade counting per row finished. rowgradesdialog added.
maintableoptions added. class colors fixed. colors lightened for multigrades.