Integrated some of the security records functionality into security HUD. Couple of bugfixes.
Accidentally revoked some other changes
More checks that should have been there in the first place, cleanup.
Missed a sodding "
Merge pull request #4724 from Lo6a4evskiy/Security_HUD_records

Integrated more of security records functionality into SecHUD