merge pureint into master / fix compile for recent engine change

the pureint branch can be deleted afterwards!