Small bug fixes

- Global $wpdb not defined
- Dropdown menu walker: missing closing div