Removed error debug printing that seems to have caused segfaults.