added kill-rerun feature to mtutil and megatest