setup Z level change to occur w/ color change

Fixes #506
Made it so the selected connection line (colored red) is raised above others.