Avoid crashing when offline
Merge pull request #292 from mojodna/offline

tm2 no longer works offline