updating how the face detector works. added a save/load