Added check for repeat comparisons to prevent invalid comparisons
from entering the database
Added linking and additonal status display