Update announce.php

added stopped, completed events and changed port checker.