Removed some legacy dependencies
Bug fix: In market order matching, we tried to extract the price from
the best's prices list instead of the first order of that list (for
example).
Some formatting and general polishing (close connections, wait for
possible notifications).