Added configurable amount of retries
Made DebugFrame bigger