Fix: a minor bug in tools/daomake;
Add: a few minor improvements.