Tackling Application Hangs and Crashes