If I attack a territory with several armies and want to decrease them to 1, I push "1" on my keyboard and unity closes the attack window, but the attack still goes into orders with initial armies.
Sorry, I don't quite follow. Can you write out what you're doing/clicking on step-by-step, numbered 1, 2, 3, 4, to reproduce the issue?
It sounds like you're saying that when you push "1" on your keyboard it's closing the attack/transfer dialog, but I can't make that happen, so I'm probably not understanding.
In flash it was very easy to know what chat you were in, since they were physically separated on the screen.
The fundamental difference here is that Flash was created for computers only, whereas the Unity client is created for all screen sizes (down to phone sized screens). On a small screen, there isn't enough room for side-by-side chat boxes and using tabs makes more sense.
Ideally the app would detect that you have more room and make them side-by-side. However we're going to first write an app that's the same on all platforms/screensize, and only once it's done will we go back and spend time on features that apply just to one platform/screensize since those are inherently lower priority features since they won't apply to everyone.
I like the color coding idea. I'll add that to my list of things to do in the UI overhaul.