added nzbstatus check for gid creation
added db connect string to start of loop in monitor.php, should help the with disabled by running issues
Merge pull request #749 from nZEDb/dev

added nzbstatus check for gid creation