Fixed docstring for .pn
Add support for unset, tab cleanup, small refactor