Feature duplication bug, Object direction

Features were added twice. Objects now have a direction if exactly two
features and none of the last coordinates is invalid. Dial is updated.