remove obtrusive log
Fix segmentation faults
Merge pull request #2 from alfanick/fix_segfaults

Fix segfaults