Fixed runtime bug related to atomic increment in histogram. TODO: Histogram currently does not have a check. Also, commented out the display of two images in UI as it was giving out error after merging with Abdul's last commits.