Implemented "New" menu item functionality.