Fixed memory leak in searchResultsTable/Row, fixed some inefficiencies
in event handling.