Rewrote get_broadcast() so it works now.

Tested it from last time, all bugs should be fixed.