added more info to unit info showed when right click on unit.
also some little fixes with debug