formatted code
add Daemon threads
allow silent kills