-improved PE_FileAPI_R1
-some other changes