Added 'resource' to '.gitignore' and modified Segment to rely on 'time remaining' rather than 'byte remaining'