poll plugin, and complete the plugin system with various stuff