scrypt fixes
Merge branch 'bleeding-jumbo' into memdbg

* bleeding-jumbo:
  scrypt fixes
memdbg fixes