added row and column colorization; row/col comment/dirty handling