Added the log of the beginning of battle

Done also small code and indentation improvements