added some more crash protection when reading corrupt datafiles
report travis status of 1.2 branch