modified settings template to behave better with small displays, fixed jshint warnings, removed check when using 'env' settings instead of 'conn'.
added ability to set env vars, fixed jshint warnings