The game boards are drawn again.

There are some performance problems and synchronization problems.
Simplified code.

Removed thread due to complexity and no real performance gain.
Each Ai makes calculations in a new thread.
Made class Component  and Frame more consistent.

Uses Uint32 consistently in all update functions.