AW-2 AW-12: Fixed out of memory error and added image analyzer