Remove incorrect comment about strange self behavior. self was just accidentally global variable
Set trail attribute as null if it is not defined
Document public path and trail attributes for built-in shapes