flow now uses daemon thread for displaying output
* now use daemon threads to prevent process hanging