Changed config so logging no longer crashes under linux.
Added network error checking after downloading a mod.