add progress dialog for partition table writing
remove all trailing whitespace
replace indent tabs with space
in partition memory freeing, do not rely on null pointers
in disks array. it is null if the disk initially has
no label, and thus will leak memory in certain cases.