Refactored more code. Abstracted GUI dialog
Merge branch 'master' of https://github.com/basilfx/Course-HardwareSecurity
Code is less ugly