key controller is now thread safe

NOTE: all external calls should have the last parrameter ture, and all internals should have it as false.
	this will prevent both deadlocks and resource asynchronization
Merge branch 'master' of https://github.com/johnhof/Applied-Cryptography