xcreate can now have tcode sent as first parameter

index.html - changed test so it now creates render engine using new xcreate
core.js - added xcreate with 2 parameters
core.js - added x - shortcut for xcreate