Many edits, still as broken as fuck

Requirejs is going well, I have learned that it does not so much fix
problems as much as force you to avoid them yourself. The extra wrapper
of one function and return call is no big deal though.
fixed the gain admin button. Rendertabs is next

:D