Upgraded to latest doxygen.
Variable cleanup.
Explicit file locking support for pidfiles (see normal flock provisos)