Ta restore safeguards

Hi Emmanuel,

Today I added some extra safeguard functionality to Flashtool. I have it in my fork of your Flashtool repo under branch 'TARestoreSafeguards'. Can you pull it and have a look at it? I wrote this 'blind' because I can not test this since my phone is still in repair. Hope to have it back in 3 weeks :).

Thanks,
Erwin