updated gui
moved zero-cost setting for end segments to ObjectiveGenerator
updated util