do not return history if offline
FIX: make the curses text UI not crash when started in --offline mode (matching ThomasV's recent changes to the other UIs)