cosmetic tidy-up

Got rid of unwanted editor changes.
Removed changes to install.php - not needed.
Removed clear() method from registry
Tidied up other files