As I said, I've only quickly ran through and modified the code. Haven't paid much attention.
At the moment, installing a default friendly urls plugin you'll have the default set up .com/category/1/ and so on. I want to be able to just have .com/1/ etc, but also change 1 to the category name instead of ID if possibly...
Well at the moment it's setup so .com/1 will go to page 1 of discussions. There's no way to work with the category name other than by writing an extension.