lines properly redrawn after msgbox