Add editorconfig rules.
Allow duration of 0.
Fix free variable bug.