Dirint global variable bug fixed.  No remaining bugs as far as I know.  Fully functional.