Fixed some brainfarts in the code, and possibly made things better.
Instead of the lib handling some of the exceptions, the lib's methods now throw exceptions in the ResourceManager class, instead of then printing to the standard error stream.
I have absolutely no idea why I implemented that....