Market thread added, threading model changed to allow multiple actions

CHANGED: Threading now allows multiple actions per thread.
ADDED: Market Thread plus timeout value
ADDED: Dummy Market stem functions to show calls in threads