Hi,
If the code inside LoadTMSFMXPlanner1; is access the planner, which is built on the main GUI thread is accessed within a thread, you will get an access violation or drawing issues as GUI components and code that redraws the component is not thread safe. Are you also syncing the code inside the LoadTMSFMXPlanner1; call correctly?