Give all threads names and use prctl to set names
erts: Create gdb pything script for thread listing