Load encrypted history log/tox datafile
various fixes