display = Display.getDefault();
imageRepository = new ImageRepository(display);
fontRepository = new FontRepository(display);
createMainShell(minimized);
systemTrayItem = new SystemTrayItem(this);
oldExceptionHandler = ExceptionHandler.registerExceptionHandler(new ExceptionHandler() {
@Override
protected void doReportException(final String message, final Throwable exception) {
exception.printStackTrace();
display.syncExec(new Runnable() {