Fixed DebugRenderer performance output.
Sorted out quite a few warnings and made several classes implement Disposable in order to avert memory leaks.