Made isEmpty function name more specific. Moved doubleclick fix to restoreJournallingState.