Made search cancellable.
Added visual states to main window and added generator option selection window.