More renaming for MSVC's sake
Adding some security related logging
Adding #pragma pack() for security related structures