incremental ID now by cmdline, fixed a restart bug, fixed bug in killing