added the option for logging the FF console log to a logfile. Default is commented out