Reuse Runner.buf instead of recreating it every time, cleaned up imports