Search works now, input processing needs some work though.