Battery becoming very hot

This is the main circuit (supplies power from either the battery or the alternator).
Solid circle or square represents a spliced junction. Open circle or square represents a connector.
Notice where the ammeter is in the line.
Also notice that even with key switch off, all of the lines attached to the battery up to the key switch are still hot. They all will show battery voltage but no current is flowing.

Charging-diagram6x.png