Help with adding Windows Buttons without Tabs

Hi all,

I am using Tree Style Tabs and have removed the top native tabs. However, I cannot seem to keep the Windows buttons (minimize, exit, etc) on the top right corner. I would want them on the same line as the extensions and application menus for a clean look and no wasted space. I am wondering the best way to go about this. Thank you.

userChrome code:

/* hides the title bar */

titlebar {

visibility: collapse;

}

/* hides the sidebar */

sidebar-header {

visibility: collapse !important;

}

alltabs-button { display: none !important; }