add null guards to wiper
destroy cached secrets on expiration and service death
wipe sensitive data as we finish with it

improve readability with whitespace formatting