Fix issue with printing empty strings.
Fix spaces formatting.