Added more prints in UserIO for bug testing.