Magic color changing.
Added Visible check to loops.