WIP porting Operations.hs to xcb