window type for buttons, reworked how input is passed around