Android support, redirect debug and error output, "clean" exit