fix for #15: it's not pretty, but it should work.

proper implementation of the registerEvents board attribute