add bunbutton class, implement some windows and variable selection via menu