added logging, fixed dest bug, added open button