Fixed critical bug.

Errors are now console logged FIVE times.