split whiptail functions from logic (#15)
merging from origin