added mode.properties, and minor changes in ECS
thread synchronization stuff, kinda important
more synchronization
bit more work on threads, making sure all windows quite
Getter for astgen
access is now protected
also for astGen