Fixes a bug in Ptab::remap reported by a student, also adds some documentation and comments to Kalloc and Ptab.
Ptab::remap
Kalloc
Ptab