When Updating an entry, grab the details from the db rather than from the local object caches to ensure the entry is properly updated.
Simplify logic.
Fix bug with logo scaling.
Convert some methods in cnSettings to be static methods.