Fixed bugs related to connection timing.

Still need to clean up state transitions: when to connect/disconnect to
the robot.
Fixed critical bugs related to text decoration.