change $_REQUEST reference to $_POST, sanitze title
Add esc_attr() to attributes.
add z-index to snippet typeahead to prevent it form showing behind other boxes
Typeahead Ajax: convert databasse query using $wpdb to use WP_Query and a custom filter