Set thread names for other platforms (see also #53)
Truncate thread name to <16 characters (see also #53)