nullptr check
npapi work in progress

init is in the right place at least