changed row coloring in reports
fixed a bug in debug.php