housekeeping on inspector and traplistr
added keypress event handler for carriage return in the search field