did some straj stuff and reimplemented some MTASession functions