ported most autostuff in control.js