added context menu, clipboard access, better comparison for compare button.  Also made the saveas act as if in append mode if there is a file present