Add window menu.
Wire escape key to cancel button.
Support track pad magnification.