Added "Recent Files" menu; save and restore application state; fixed a bug in the Windows menu.