Fixing minor codegen issues.
Also, allowing errors to be displayed rather than silently fail.
Merge remote-tracking branch 'refs/remotes/origin/feature-metaControlEditor' into dev-v3