mcache: A few fixes.