Update comments pertaining to painting.
Fixed dependencies within PaintNode.