Removed unneeded HISTDIR.
Removed commented lines that are no longer used.
Removed commented lines.