partially implemented filemenu and editmenu into new style