GraphicEngine and many other related stuff fixed

Still requires some works