Added fully rewrited RestartFailed plugin, originally by bambie