GUI text edit and some de-uglification :)