quadmath: some cleanup and improvements.