fixes several market gui issues: wrong bid's cost and quantity shown; cover's pending state; click on margin order subsitutes wrong quantity