Fix flash header size check and GDS brute check
Merge pull request #13 from theopolis/flash_size_check

Fix flash header size check and GDS brute check