Added possible fix for the random SecurityExceptions.
Added operating system to error report.