replaced references with pointers to ensure consistency. no logical changes.
- sync with its file name - remove unnecessary section comments - compact binary size (-300) - private Task::run() methods from the loaders
This correction ensures a consistent use of 'ref' and 'unref' for paints to release memory properly. The memory leak occurred when a picture was not pushed to a valid canvas. This issue was reported by the unit-test memory sanitizer.