Gui rework and fix some bug on 1.6.2 and sync with TimesOreForge