Refactored model loading code out of model class; debug rendering tweaks