Introduced GUI::Initialize(). Refactor the code accordingly