Refactored.
Improved comments.
Sped up searching in directories with a lot of files.
Sped up du in directories with a lot of directories.