* attach signal handler in tracker_run(), test for support and log php environment
* use standard php functions to test if running in cli mode (increases compatibility with mac os)
* also report capture gaps when pid file was missing or invalid