Changed  to  for better readability.
Fixed a bunch of stuff.
Fixed logic in checking maximum attempts in IslandoraBprocessOcr.inc; general clean up of that file.