Add multi-thread build system support

 - Multi-thread build system
 - Run Main Class now on Stable Channel
 - Fix Run Main Class error when run on an empty window