fix url opening
integrate with app code
more general plugin-dir finding
add some nice terminal utils