added preference for similar pckg names search
add paranoid null checks to avoid jsonexception and always return the remaining non-null results
add ui for similar package names search