Minor fixes in GameFramework and other places.