Added basic text filtering.
Fixed removing dom nodes when changing views.