Fixed events management in Cloo that causes exceptions during iterations over them. Fixed kernel caching with unproper metadata