An apparatus for detecting a centroid of a spot produced by electromagnetic radiation, e. Methods of treating a surface of an apparatus within an electrocoating operation using a biosurfactant to remove or prevent sessile microorganism growth on the apparatus are provided. In certain embodiments, the frozen particles provide vehicles for delivery of particular agents.