use a lower level print method to avoid the Tk console crash