Debug-build options.
Fix using rand().
Update atest: correctly set emitter properties.
Extended primitives.
Paint emitter in color.