Finished support for delta segments
Better stats and command line