Thee dead battery could be the culprit for the wiper freakishness, but I would look for (search) the test posted by btrautman on the Central Timer Module test.
the CTM controls: door dinging, intermittent wipers, defrost, and a host of other things (interior lights, etc)