Added functionality to recognize duplicate customers and give the option to overwrite or not. Also, closing the customer creation window no longer kills the application.