private static void mainOnEventDispatchThread() {
    		imViewer = new ImageViewer();
	    imMapper = new ImageMapper(hystory, hystoryRedo);
        imMapper.setPreferredSize(new Dimension(imMapper.getMode()[0],imMapper.getMode()[1]));
        f = new GBTileEditor(imViewer, imMapper);
    }