if login incorrect dismiss wait dialog bug fix + MHAPI readMedia update