Show cursor in search field.
Fix warnings.