Added new technique to reduce the number of UI events
* Prevent prog exec thread to keep unnecessary sending UI event, main wnd
  thread will send event when done with the queue processing, at this point
  is ok to post UI events.