Implement paintbrush, frame preferences handler, and round rectangle tool.