Added a few IsValid checks to crush a bug with the security page
Removed some sgui log spam
Security page now has a colour key