Banks see light at end of bad loan tunnel