add LOCKRETRIESMAX so that the script can't lockup forever
cleanup support for control file
remove need for arguments & cleanup environ code
use config properly ;-)