Fixed a bug in parsing the thickness and color of lines and added TODOs.