Added color switching and line-width switching ability.