It looks like the multi-window example was recently broken by f12de01. The `button` function was renamed to `custom` but the code didn't get updated. This fixes issue #616
f12de01