Update: processing of SEEK results, significant refactoring, arranging processing tasks into separate functions