change commits to apply()
use manual aggressive wifi scanning, rather than background thread
more randomness in test mode