use strconv.ParseBool for bg param parsing.

It's a bit more clear, but also allows more flexibility in input
parsing.