Made search engine more robust: upcases strings; removes newlines; posts for strings > 2000 length