Commented out the thinning pass.
Clean up in Painter class and adding design domain shader.
Clean up in Painter class.