more cleanup of inputs (redmine #1875)
more cleanup

move files/runs/variables to top to be consistent
fix show/back button to NOT submit form