password function fixes
support for registering handlers that are insterested in computer's sleep/standby
harmless debug macro for mutexes
fix cache freeing
add sleepstopcrypto setting