doDraw() is now wrapped up inside an AsyncTask.