How to disable the menus below Howdy

Below Howdy, there is various menu items that I want to remove including all buddypress menu items and Edit Profile. Actually I would only like to have only Log out or just disable the entire drop-down menu in that location. Any help is appreciated!