EGE/src/ege/global.cpp: 简化消息循环。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
EGE/src/ege/global: 简化初始化状态设置。

Signed-off-by: FrankHB <frankhb1989@gmail.com>