Working code, added comment with *correct* board connector pin diagram, lines for both top and bottom led rows connected to board now, but only one enabled at a time in this code (both tested however.)
Should be pure code cleanup with practically no functionality changes.