include cstdio for snprintf call in BandwidthDialog