tests and thread safety
+tests for intdictionary
*fixed InvokeIfRequiredCatchTest failing constantly
*increased gamestate safety with more InvokeRequired checks