Added bug log and started to find (perhaps) the root of the problem