add new tracking features.

Added new features to keep track of submitted flows

status(fobj)
dump_flow_details(fobj)

optimized a few other functions.