Fix frontier that does not wake up worked threads when new URL's are
scheduled. Instead, it will wait until it is woken up itself. Changed
wait() to notifyAll().