well its workin now...i think... i checked all the connections and something was shorting so i fixed it
Rectangle 9v batteries are notorious for their low capacity. Sure, it`s got a whole 9v, but it doesn`t have enough energy actually stored to do much more than power small things like tiny robots or electronics.
If you measured 850mA drain, that`s about three times the total capacity of a rechargable 9v so it`ll last like 10-15 minutes before being flat.
I can`t say why your other programs don`t run.