Added Stopwatch class
Moved CreateArray into MainWindow and introduced variables to hold references to arrays
CriticalSection around static MemoryBlock
Pragmas will only take affect in compiled app, not DebugBuild
Added KillArrayThread method
Use KillArrayThread method
Xojo being Xojo
Merge branch 'feature/Check_thread_safe' into develop