Show upgrade popup on main thread
Fix off by one error in git rev check