The input tab editor is not readonly... Dah... :)
Various JSHint fixes. Run perl with input enabled is now working :)