Move row render logic into a separate function.
Move status rendering into separate function.
Group screen refresh-related logic.
Use index provided by range iterator; reduce color assignment to 1 line.