Made torch control optional. Also added check that stock torch app is
installed.