Swapped StringBuffer with its non-synchronized and faster version, StringBuilder.