Added the ability to control line thickness.