Separates the search and results windows into two separate classes for
simpler code. This has the added benefit of removing static references
from the program.