public BufferedImage getRender() {
            BufferedImage output = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
            Graphics2D g2 = output.createGraphics();
            BufferedImage temp;
            for (int i = 0; i < tilesX; i++) {
                for (int j = 0; j < tilesY; j++) {
                    temp = new BufferedImage(model, tiles[i][j], model.isAlphaPremultiplied(), null);
                    g2.drawImage(temp, i * tileW, j * tileH, tileW, tileH, null);
                }
            }
            // Clean up all the temporary stuff
            temp = null;
            System.gc();
            
            return output;
        }