Fixed boolean marshalling in structs/callbacks
Readme formatting fixes