Basically finished the plugin! Needs a tad bit of cleaning up and a couple of small features added though.