Added player hand distance check
Detect Mac OS
Solve segfault killing the process