fixing sam false error progress reporting, fixing progress dialog layout