Popup buttons now show up correctly. Next, make them send messages and update when scripts change them.