main: seperate color for centers of structures

Still thinking of an algorithm. I bet I can do it in 2 loops by jumping from object to object, detecting links and comparing that to the previous ones.