Added try/catch in run, doDraw, and surfaceCreated