new logging facilities
changed over to new logging system -- supports logging to console, file and database
hooked new logging system up to database
fixed another portability bug
included missing header, fixed faulty string formatting
fixed incompatibility with ptrace on freebsd
unity builds okay now
removed use of ptrace
use more portable PT_ macros
removed useless includes