Fixed upgrade bugs
Fixed drag-and-drop null reference error
Fixed getStats null reference bug