Added input opts validation, hiding/showing messages