fixed UDP broadcast, and removed code that did nothing