[Elisp] maxframe provides the ability to maximize the emacs frame and stay within the display resolution.