Fixed computing diff. Moved merge from dc/dc2 to iterator. Applied fixes for handling Ctrl+C.