Fixed Painter Issue

Issue developed where the painter could not correct parse the text file.
Restore from backup and then added small bit of code updated today/