refactored filemenu items to take parent Frame as an argument at construction.