Minor improvement of order and responsibilities when starting a battle
Added some documentation and did some very minor fixes and renames.