Integrated gflags into main, much nicer now.