Refactored into true plugin system using DLLs. Now we're talking.

Also added a couple of bits of functionality to the Media plugin.