Null pointer exception avoided if no parent dir specified.
No longer includes docs on every build.
Various modifications to sample applications.