Working battles with a bit more debug and some fixes.
More info and fixes for battles