Start the 3d demos on the main thread.

Otherwise they dont work on mac OSX.