Fixed link repainting
Fixed link color and tickness saving
Fixed bugs