changez to see if we can get this to work

Since I was working on something else while this was going on, I'm not sure I'm on the right track.  However as it is the thing doesn't really seem to work, at least I can't get any events out of the thing without the following changes.  Right track, wrong track?