CODE STILL BROKEN: introduced 'xdouble' for easier switch from cpp_dec_float_50 to double, some debugging & formatting
fixed metadex logic: buyer exhaustion working, trading working, insertion working
TODO: seller exhaustion