gframe improvements and other fixes