Added basic text search, fixed EditManager bugs