Added key import and export options to gui