[WindowInterceptor] Make up() static.
[cores] Make functions static if possible.
Merge pull request #2697 from ace20022/makeEmStatic

[cores/interfaces] Make functions static if possible.