[fx] textarea control + small code refactoring