Added new and removed unnecessary code from ImageTargets sample project, working