Wip/h3nk3 background run

Makes these two methods public so we can reuse them from other plugins, e.g. sbt-echo.