better error reporting
image masking
drawRect function
custom margin & guide colors