Only open the process token when needed, and close it afterwards
Refactor security attributes initialisation
Register the Implemented Categories key in HKLM

--HG--
extra : amend_source : 04aabb2c01397bb93ec1f5c97549ca98ab6153e1