Added a flash detection library, with support for blockers.