handle sigterm
initial xterm color support
add PlayerManager.removeAll
don't write crappy pfiles