Made the ResourceIndex.resetResource() method more stable.
One more small improvement to resetResource().
Added basic code for pseudo3d racing engine to Pseudo3DView.
Added and converted util and const classes from JS port.