*: remove logging
*: use NPN memory handling
plugin: some style fixes
plugin: fix interface returning