Cap window names to prevent client disconnects.