Added validation checks to main variable in Wacky.