Initial commit with meaglyn's bug fixes and features, including support
for inc dir and symbol counting.