Fixing all the things!

I was asked to fix up and rework this extension for Curse's wiki platform.  I went through and overhauled all the code to bring it up to standards.