Move local var declarations to top for cf8 compat
Rename boot functions for cf8

CF8 moans about loadsettings being declared twice otherwise
CF8 doesn't like 7am

For someone curious reason, CF8 doesn't like 7am as a value here. Odd.
Stop deletion of last location

One location is needed - added check to stop deletion of all locations.