fixed printing  status, flushes prvious status
Merge pull request #26 from sanfx/print_status_flush

fixed printing  status, flushes previous status in terminal