adding config settings; tweaking log messages; exit on timeout