As the drawing functions fail in unexpected ways, the script should validate the DomainDNA inputs before blindly sending it to the drawing functions.