Added ability to set initial brush colour as an XML attribute.