Location handler now stops properly when game is minimized instead of closed. #185