Moved glLineWidth before glBegin otherwise it is invalid
Merge pull request #271 from num3ric/appRewrite

Moved glLineWidth before glBegin otherwise it is invalid