Fixed minor oversight where the pid written could not be specified.
main pymon module functionationality build out. still a work in progress.