modeltest, cgame, intro, tutorials, web authentication converted, finished main.ufo

I am going to mark all controversial lines, so watch carefully.
I've added the toggle function.