New version: 2.40.5

The bugs, a crash and a wrong contour chart, that were reported for 2.40.4 have been fixed in this version.