Remove url from cache when removing cached file
Remove obsolete code in loadLogo()
Add check for null