Hi Martin,
The red color is to warn you that you've overstretched the flexes.
If you want, you can switch this off in the settings tab.
Colored track indicates sections. In one of the later stages of your design, you will want to divide the layout into sections each having some purpose such as detection, stop/start, etc.
You can read more about this topic starting here:
http://www.anyrail.com/help_en/index.html?piecesstretchesandsections.htm
David.