Added more DB indexes. Added last buy/sell transaction to order manager. Other order manager improvements.
Cleanup.