add a cobj pointer to every class in wlplus

this makes it easier to interface with c functions that are not ported
disconnect from display if destructor is called