Display refs next to buttons

I haven’t finished the UI, and could use some feedback/suggestions.