removed include SessionSaver from MainWindow.h
last "lastDate" corrected to "endDate"