index: more debug() calls, add `lib` to sym Buffer