fixed crash of history view for 0 days of history
make detection of empty actions slightly faster
fixed typo
restore possibility of file imports for benchmarking