Mostly whitespace changes made with the autopep8 tool
Merge branch 'reformatted'
Fixed a few cosmetic bits
Two changes were made:
1. The checkbox list containing the currently loaded datasets initially contains a "file" entry which was being deleted causing an indexing error on subsequent Load clicks. I now fixed the if clause to check for an empty list first. I also added a line to restore the "file" entry upon clicking Unload.
2. This revealed another problem - the whichProcessed list was not being cleared on unload. Added an entry in Unload to do this.
The index assignment on lines 867 and 871
index = np.where(self.pixel_ids1 == pixelID)[0]
results in a single-element array with an int64 dtype. Since this is only subsequently used to index into an array (which expects a dtype of int32, to fix this I just extract the index as a number from the array.