Copy editing. Some code cleanup in cryptoapi