Improved bitstring implementation. Added home_dir to PDT. Starting on PIT.