Changed print to debugging messages, removed $verbose, used textlib::convert