added fix to make client thread a daemon thread, also hopefully enabled UDP broadcasting this time