updated offline to work under linux rather than mingw.  sorry mingw fans