fix exit on close
update readme