More sensible command-line flags
Update license
Remove unnecessary allocations in dir.c
Simplify directory walking
Free allocated memory in dirwalk
Add buffer guard to walk