Fixed bug where long keys are not hashed. Fixed bug where spaces in key name result in the callback never being called.