remove heap allocation and string conversion from MinimizeThread()