Added ability to change pen thickness