Minor change on ShowListener (use Stringbuffer instead of String) which improves performance