prime factors gui now displays errors.