replaced debug menu with WP-consistent menu