Changes to parameters to avoid crashes and removed Ctrl-C signal catching at thread.c
Merge pull request #2 from icaro-henrique/ph-natan

Changes params to avoid crashes, changed Java program