Optimizes the search in interface terminals

Removed the amount of data by only searching the output names
Added a caching layer so every subsequent search will narrow the previous
one down and not search everything again
Reduced the amount of background rendering calls
Merge pull request #223 from yueh/feature-129

Optimizes the search in interface terminals