Update main.js

Fixed motor gang direction update & synchronization (relevant when direction adding/removing a motor from a gang that's in motion or indirectly removing a motor from a gang that's in motion by adding it to a different gang—stopped or moving).

Added colors for color sensor display. Still have to figure out why the color sensor isn't putting out the correct values...