More preset work. Added debug info.