public void init(){
		instance = this;
		
		player = new Player();
		
		InventoryFactory.loadInventory(player);
		
		ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
        gs = ge.getScreenDevices();

        monitor = gs[0];
        Rectangle maxBounds = GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds();
        monitorWidth = monitor.getDisplayMode().getWidth() - 20;
        monitorHeight = maxBounds.height;
        
        setSize(monitorWidth, monitorHeight);

        favPanel.setBounds((int)(Constants.monitorWidth * favPaddingPercent), (int)(monitorHeight * favPaddingPercent), 
        		monitorWidth - (int)(monitorWidth * favPaddingPercent * 2), 
        		monitorHeight - (int)(monitorHeight * favPaddingPercent * 2));
        favPanel.init();
        mainPanel = new MainPanel(monitorWidth, monitorHeight);
        add(mainPanel);
	}