Removed a useless cout in text-test for gui::Text.
Fixed bugs in gui::Text.