add reference tricks
add controlnet reference and bugfix Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>