public void refresh() {
		for (int iteration = 0; iteration < panes.size(); iteration++) {
			final Pane pane = panes.get(iteration);
			pane.refresh();

			//need to fix issue with small panes (index out of range)
			for (int x = 0; x < width; x++) {
				for (int y = 0; y < height; y++) {
					if (pane.buffer[x][y] != null) {
						screen.putCharacter(x, y, pane.buffer[x][y]);
					}
				}
			}
		}
		screen.refresh();

	}