Attempting to fix the SnitchMap crashing bug, and the alert dialog bug