private void buildGUI() {
		Dimension screen = Toolkit.getDefaultToolkit().getScreenSize(); i();
		frame = new JFrame("Yet Another Mining Game"); i();
		panel = new GamePanel(new Dimension((screen.width - 100), screen.height - 100),
				model, flyups); i();
		panel.addMouseListener(new PanelClickListener());
		statusBar = new JLabel(getStatusBarText());
		aboutView = new AboutView();
		JMenuBar menuBar = new JMenuBar();
		JMenu fileMenu = new JMenu("File");
			JMenuItem newMenuItem = new JMenuItem("New Game");
				newMenuItem.addActionListener(new MenuBarListener());
			fileMenu.add(newMenuItem);
			JMenuItem openMenuItem = new JMenuItem("Open Game...");
				openMenuItem.addActionListener(new MenuBarListener());
			fileMenu.add(openMenuItem);
			JMenuItem saveMenuItem = new JMenuItem("Save Game As...");
				saveMenuItem.addActionListener(new MenuBarListener());
			fileMenu.add(saveMenuItem);
			fileMenu.addSeparator();
			JMenuItem optionsMenuItem = new JMenuItem("Preferences...");
				optionsMenuItem.addActionListener(new MenuBarListener());
			fileMenu.add(optionsMenuItem);
			JMenuItem cheatMenuItem = new JMenuItem("Enter a cheat code...");
				cheatMenuItem.addActionListener(new MenuBarListener());
			fileMenu.add(cheatMenuItem);
			fileMenu.addSeparator();
			JMenuItem exitMenuItem = new JMenuItem("Quit");
				exitMenuItem.addActionListener(new MenuBarListener());
			fileMenu.add(exitMenuItem);
		menuBar.add(fileMenu);
		JMenu helpMenu = new JMenu("Help");
			JMenuItem aboutMenuItem = new JMenuItem("About YAMG...");
				aboutMenuItem.addActionListener(new MenuBarListener());
			helpMenu.add(aboutMenuItem);
		menuBar.add(helpMenu);
		frame.setJMenuBar(menuBar);
		frame.getContentPane().add(BorderLayout.SOUTH, statusBar); i();
		frame.getContentPane().add(BorderLayout.CENTER, panel); i();
		frame.getContentPane().add(BorderLayout.NORTH, hud.getPanel()); i();
		frame.addKeyListener(new MyKeyListener(yamg, yamg.getModel(), this)); i();
		frame.setResizable(false); i();
		frame.setBounds(Helper.getCenteredBounds(
				screen.width - 100,
				screen.height - 100)); i();
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); i();
		refreshView();
		setRefreshing(true);
	}