added delay in kill command and retard command
Fixed some minor bugs