Removed the kill_orphans option.
Coding style and docs.
Renamed enable_logging and kill to logging and kill_port respectively.