Updated code to fix statusbox scale issue and make model drawing code more modular