Moved core of event handler from xpc.go to goble.go (so, HandleXPCEvent only handles XPC specific stuff, while BLE.eventHandler process the BLE related messages).
Now the code is quite unreadable with a lot of trickery to have the Go initialization code pass around a function pointer, have the C code store it and return it to the Go callback :(