Forgot to slather the entire class in Synchronized and Volatile. Should make crashes less likely, I hope.