DueFlashStorage.h & Flash page is locked

It will be a paradise if the DueFlashStorage.h would be changed not to cause flash page locked error anymore ! I am trying to find the correct point at the lib to disable possible commands that would be causing the flash page locked during uploads but I did not find it yet. Any help will be appeciated.

There is another possibility... Maybe the DueFlashStorage library is not guilt. I've heard somewhere that when you write to the flash memory over 10,000 times the flash dies and the message Flash page locked is always issued. In this case nothing else can be done and your DUE becomes a trash... Is it true ? Thanks.