settings; input2hidden; assorted minor fixes