Change inputs on style change, bugfixes
Bugfixes, improve dev mode

Copy code to variable instead of element to avoid lag whenever the user
types