compare doesn't check for null strings
compare splits the first string by spaces
compare splits the second string by \t
diff does not check for null strings
compare only compares for the number of lines in the first doc
compare window displays even if user doesn't select a file