Corrected aquireing global registry
Corrected minimum filesize limit
pep8
The great pep8 tidyup
More pep8