Code cleanup.
XXX: Add signal handling so a cleanup
happens when user hits ctrl+c to quit.
Code cleanup.
static initialisation, so no need to add an array size
Write proper comments in tools.c
blame @srozen for delete() as well.
update
Minor fixes, from @cmacrae.
merge from master