public void render() {
		if(screenGUI == null || screenCamera == null) return;
		
		//render the camera
		renderCamera();
		
		//render the gui
		Graphics g = screenGUI.getGraphics();
		
		//The background (in this case, the main game camera
		g.drawImage(screenCamera, 0, 0, null);

		//The gui
		program.game.renderGUI(g);
		program.stats.renderGUI(g);
		
		//Dispose of the graphics
		g.dispose();
		
		//Applies all rendering to the canvas
		renderCanvas();
	}