Added code to ignore devices fdisk can't read in fdisk imitation mode
Deleted some old, commented out code, and simplified some code
converted all spaces to tabs and simplified some code