Fleshed out the plug-in, implemented disconnect checks.