Midterms catch Republicans off guard as Democrats perfect the process of election engineering