Fixed classpath to plugin, added next tick handler listener

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>