added set port and threshold defaults (), isThreshold(), set default blank on optional name vars for validation functions, updated env_creds()