more API updates (fixed sockets, xgmath), began fixing cppbc