Now logging stacktraces for exceptions + crash fix

Was using logError to log exceptions from various webdriver functions.
Now using backtrace + the exception's  string, as logError was throwing
an exception when processing regex.