Removed debug log statements to (slighty) increase speed. Commit with debug statements tagged as debug