Before splitting search and align GUI into separate files.