Here is the updated patch with, as discussed, a new user option to control the frame resizing, and the additional C-x C-M-= binding.