Update some details of legends viewscreen
Move emotions to different file, add colors (thought screen) and stress divisors
Fix XML schema errors.
Update version to v0.40.15
Add main windows globals and apply changes found by the auto check.

Note: some viewscreens likely changed and weren't checked yet.
Run the auto-scan to annotate still aligned objects.