Hex Reset

Fixed the issue with certain memory variables not resetting properly.