fix bug that calculated the timespan of recentfiles wrong (too long); add a test...