Moved memstore to use new debug library
Introduced a debug label and unlabelled varient