Set max thread ID to 0x80, closes #36