Move Paste from File menu to Edit menu.
Moved common code to sub functions.
Merge branch 'master' of github.com:larspensjo/lplog