Fixed main() not using global bandwidthLimit.