Cleaned up search functions, created function to add games from dialog window.