Actually fixed the problem with the exception

Also added some smarter code for recognition, and optimized the code
for getting rid of people.