Moved connection dependency

Moved the dependency on being connected to only affect sending data to HS, and added a separate section with comments describing what will run when.
Enforced read only for the constants that are not and should not be changed at run time.