you now can register window in egfx, and it will do most boilerplate for you automati...