Added widget export functionality. Needs error processing and complete message.