tuned;
prefer internal tool;
tuned signature;
moved getopts to Scala;
added 'paragraph', 'subparagraph';
added update_header tool;