Throw new exception when program class version is less than file class version. Other miscellaneous improvements